-- OLTP write procedures

-- run through OLTP write workload

select 'running oltp_write.oltp_write_01' as message;
message                         
--------------------------------
running oltp_write.oltp_write_01
(1 row)


select oltp_write_01_check;
ERROR:  attribute 'oltp_write_01_check' not found
select oltp_write_01 (100);
ERROR:  query didn't return correct # of attributes for *internal*
select oltp_write_01 (200);
ERROR:  query didn't return correct # of attributes for *internal*
select oltp_write_01 (300);
ERROR:  query didn't return correct # of attributes for *internal*
select oltp_write_01 (400);
ERROR:  query didn't return correct # of attributes for *internal*
select oltp_write_01 (500);
ERROR:  query didn't return correct # of attributes for *internal*
select oltp_write_01_check;
ERROR:  attribute 'oltp_write_01_check' not found
select oltp_write_01_undo;
ERROR:  attribute 'oltp_write_01_undo' not found
select oltp_write_01_check;
ERROR:  attribute 'oltp_write_01_check' not found

select '**********' as message;
message   
----------
**********
(1 row)


--

select 'running oltp_write.oltp_write_02' as message;
message                         
--------------------------------
running oltp_write.oltp_write_02
(1 row)


select oltp_write_02_check;
ERROR:  attribute 'oltp_write_02_check' not found
select oltp_write_02 (100);
ERROR:  No such function 'oltp_write_02' with the specified attributes
select oltp_write_02 (200);
ERROR:  No such function 'oltp_write_02' with the specified attributes
select oltp_write_02 (300);
ERROR:  No such function 'oltp_write_02' with the specified attributes
select oltp_write_02 (400);
ERROR:  No such function 'oltp_write_02' with the specified attributes
select oltp_write_02 (500);
ERROR:  No such function 'oltp_write_02' with the specified attributes
select oltp_write_02_check;
ERROR:  attribute 'oltp_write_02_check' not found
select oltp_write_02_undo;
ERROR:  attribute 'oltp_write_02_undo' not found
select oltp_write_02_check;
ERROR:  attribute 'oltp_write_02_check' not found

select '**********' as message;
message   
----------
**********
(1 row)


--

select 'running oltp_write.oltp_write_03' as message;
message                         
--------------------------------
running oltp_write.oltp_write_03
(1 row)


select oltp_write_03_check;
ERROR:  attribute 'oltp_write_03_check' not found
select oltp_write_03 (100);
ERROR:  No such function 'oltp_write_03' with the specified attributes
select oltp_write_03 (200);
ERROR:  No such function 'oltp_write_03' with the specified attributes
select oltp_write_03 (300);
ERROR:  No such function 'oltp_write_03' with the specified attributes
select oltp_write_03 (400);
ERROR:  No such function 'oltp_write_03' with the specified attributes
select oltp_write_03 (500);
ERROR:  No such function 'oltp_write_03' with the specified attributes
select oltp_write_03_check;
ERROR:  attribute 'oltp_write_03_check' not found
select oltp_write_03_undo;
ERROR:  attribute 'oltp_write_03_undo' not found
select oltp_write_03_check;
ERROR:  attribute 'oltp_write_03_check' not found

select '**********' as message;
message   
----------
**********
(1 row)


--

select 'running oltp_write.oltp_write_04' as message;
message                         
--------------------------------
running oltp_write.oltp_write_04
(1 row)


select oltp_write_04_check;
ERROR:  attribute 'oltp_write_04_check' not found
select oltp_write_04 (100);
ERROR:  No such function 'oltp_write_04' with the specified attributes
select oltp_write_04 (200);
ERROR:  No such function 'oltp_write_04' with the specified attributes
select oltp_write_04 (300);
ERROR:  No such function 'oltp_write_04' with the specified attributes
select oltp_write_04 (400);
ERROR:  No such function 'oltp_write_04' with the specified attributes
select oltp_write_04 (500);
ERROR:  No such function 'oltp_write_04' with the specified attributes
select oltp_write_04_check;
ERROR:  attribute 'oltp_write_04_check' not found
select oltp_write_04_undo;
ERROR:  attribute 'oltp_write_04_undo' not found
select oltp_write_04_check;
ERROR:  attribute 'oltp_write_04_check' not found

select '**********' as message;
message   
----------
**********
(1 row)


--

select 'running oltp_write.oltp_write_05' as message;
message                         
--------------------------------
running oltp_write.oltp_write_05
(1 row)


select oltp_write_05_check;
ERROR:  attribute 'oltp_write_05_check' not found
select oltp_write_05 (100);
ERROR:  No such function 'oltp_write_05' with the specified attributes
select oltp_write_05 (200);
ERROR:  No such function 'oltp_write_05' with the specified attributes
select oltp_write_05 (300);
ERROR:  No such function 'oltp_write_05' with the specified attributes
select oltp_write_05 (400);
ERROR:  No such function 'oltp_write_05' with the specified attributes
select oltp_write_05 (500);
ERROR:  No such function 'oltp_write_05' with the specified attributes
select oltp_write_05_check;
ERROR:  attribute 'oltp_write_05_check' not found
select oltp_write_05_undo;
ERROR:  attribute 'oltp_write_05_undo' not found
select oltp_write_05_check;
ERROR:  attribute 'oltp_write_05_check' not found

select '**********' as message;
message   
----------
**********
(1 row)


--

EOF
